<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=9"/>
    <title>shopOrderVo</title>
</head>
<body>
<script type="text/javascript" src="/dist/js/subPages/shopOrder.js"></script>
<table id="shopOrderVoDg" class="easyui-datagrid" data-options="url:'./../shopOrder/query',rownumbers:true,toolbar:'#shopOrderVoDgTbar',
		pageSize:20,pagination:true,striped:true,fit:true,fitColumns: true,singleSelect: true,selectOnCheck: false,
		rowStyler: shopOrderVo.rowStyler">
    <thead>
    <tr>
        <th data-options="field:'id',width:80">编号</th>
        <th data-options="field:'user_name',width:80">用户名</th>
        <th data-options="field:'pro_name',width:80">产品名称</th>
        <th data-options="field:'city_name',width:80">城市名称</th>
        <th data-options="field:'order_no',width:80">订单号</th>
        <th data-options="field:'order_status_name',width:80">订单状态</th>
        <th data-options="field:'order_time',width:80">下单时间</th>
        <th data-options="field:'pay_type_name',width:80">支付方式</th>
        <th data-options="field:'money',width:80">金额</th>
        <th data-options="field:'transport_pay',width:80">运费</th>
        <th data-options="field:'consignee',width:80">收货人</th>
        <th data-options="field:'area',width:80">地区</th>
        <th data-options="field:'address',width:80">详细地址</th>
        <th data-options="field:'mobile',width:80">手机号</th>
        <th data-options="field:'telephone',width:80">固定电话</th>
        <th data-options="field:'email',width:80">Email</th>
        <th data-options="field:'is_bill',width:80,formatter: shopOrderVo.is_billFormatter">是否开票</th>
        <th data-options="field:'invoice_title',width:80">发票抬头</th>
        <th data-options="field:'invoice_details',width:80">发票明细</th>
        <th data-options="field:'delivery',width:80">配送方式</th>
        <th data-options="field:'remark',width:80">备注</th>
        <th data-options="field:'is_check',width:80,formatter: common.is_checkFormatter">是否有效</th>
    </tr>
    </thead>
</table>
<div id="shopOrderVoDgTbar">
    <table width="100%">
        <tr>
            <td align="left">
	        	&nbsp;&nbsp;用户名：&nbsp;&nbsp;
               	<input id="user_nameParam" name="user_name" class="easyui-validatebox" style="width: 150px;"/>
               	&nbsp;&nbsp;订单号：&nbsp;&nbsp;
               	<input id="order_noParam" name="order_no" class="easyui-validatebox" style="width: 150px;"/>
                &nbsp;&nbsp;订单状态：&nbsp;&nbsp;
                <input id="order_statusParam" class="easyui-combobox" name="order_status" data-options="
								valueField:'code',textField:'name',url:'./../dictionary/selectByCode?code=34',
								loader: common.comboBoxLoader"/>
                &nbsp;&nbsp;是否开票：&nbsp;&nbsp;
                <input id="is_billParam" class="easyui-combobox" name="is_bill" data-options="
								valueField:'value',textField:'label',data: [
                                    { label: '全部', value: '' },
                                    { label: '开票', value: '1' },
                                    { label: '不开票', value: '0' }
								]"/>

            </td>
            <td align="right" width="350px">
            	<a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-search" plain="true">查看详细信息</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-edit" plain="true">修改订单状态</a>
            </td>
            <td align="right" width="10px">&nbsp;</td>
        </tr>
        <tr>
            <td align="left">
            	&nbsp;&nbsp;手机号：&nbsp;&nbsp;
               	<input id="mobileParam" name="mobile" class="easyui-validatebox" style="width: 150px;"/>
                &nbsp;&nbsp;收货人：&nbsp;&nbsp;
                <input id="consigneeParam" name="consignee" class="easyui-validatebox" style="width: 150px;"/>
                &nbsp;&nbsp;支付方式：&nbsp;&nbsp;
                <input id="pay_typeParam" class="easyui-combobox" name="pay_type" data-options="
								valueField:'code',textField:'name',url:'./../dictionary/selectByCode?code=35',
								loader: common.comboBoxLoader"/>
            </td>
            <td align="right" width="350px">
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-remove" plain="true">删除</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-edit" plain="true">恢复使用</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-remove" plain="true">永久删除</a>
            </td>
            <td align="right" width="10px">&nbsp;</td>
        </tr>
        <tr>
        	<td>
                &nbsp;&nbsp;起始时间：&nbsp;&nbsp;
               	<input id="startParam" name="startParam" class="Wdate" type="text" style="width: 140px" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
               	&nbsp;&nbsp;终止时间：&nbsp;&nbsp;
               	<input id="endParam" name="endParam" class="Wdate" type="text" style="width: 140px" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" name="today">今天</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" name="yesterday">昨天</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" name="thisWeek">本周</a>
                <a class="easyui-linkbutton" href="javascript:void(0);" plain="true" name="thisMonth">本月</a>
                <a id="query" class="easyui-linkbutton" href="javascript:void(0);" iconCls="icon-search" plain="true">查 询</a>
            </td>
        </tr>
    </table>
</div>
<div id="shopOrderVoDlg" class="easyui-dialog" style="width:400px;height:250px;padding:20px"
     data-options="resizable:true,modal:true" closed="true" buttons="#shopOrderVoDlgBtn">
    <form id="shopOrderVoFm" class="fm" method="post" novalidate enctype="multipart/form-data">
        <div class="fitem">
            <label> 订单状态： </label>
            <input id="id" name="id" type="hidden">
            <input id="order_status" class="easyui-combobox" name="order_status" data-options="
								valueField:'code',textField:'name',url:'./../dictionary/selectByCode?code=34',
								loader: common.comboBoxLoader "/>
        </div>
        <div class="fitem">
            <label> 收货人： </label>
            <input id="consignee" name="consignee" class="easyui-validatebox">
        </div>
        <div class="fitem">
            <label> 地区： </label>
            <input id="area" name="area" class="easyui-validatebox">
        </div>
        <div class="fitem">
            <label> 详细地址： </label>
            <input id="address" name="address" class="easyui-validatebox">
        </div>
        <div class="fitem">
            <label> 手机号： </label>
            <input id="mobile" name="mobile" class="easyui-validatebox">
        </div>
    </form>
    <div id="shopOrderVoDlgBtn">
        <a href="#" class="easyui-linkbutton" iconCls="icon-ok">确定</a>
        <a href="#" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
    </div>
    <div id="detail" class="easyui-dialog" style="width:400px;height:450px;padding:20px"
   			data-options="resizable:true,modal:true,closable: false" closed="true" buttons="#detailBtn">
    	<div id="productDetail">
    	</div>
    	<div id="detailBtn">
	        <a href="#" class="easyui-linkbutton" iconCls="icon-ok">关闭</a>
    	</div>
    </div>
</div>
</body>
</html>